package com.gagakuai.domain.engines;


import com.gagakuai.domain.facts.Facts;
import com.gagakuai.domain.rules.Rules;

/**
 * @description: 规则引擎:
 * 后续等评分卡，静态规则，等等可以泛化不同的执行器
 * @author: houhong
 * @create: 2024-09-07 10:54
 **/
public interface RuleEngine {

    /**
     * @param rules: 规则
     * @param facts: 事实
     * @return {@link}
     * @description 传入规则，和数据 执行结果
     * @author houhong
     */
    void execute(Rules rules, Facts facts);
}
